<!--顶部部分-->
<template>
  <div class='header'>
    <h1 class='text'>LY Music</h1>
    <router-link class='mine' to='/user'>
      <i class='icon-mine'></i>
    </router-link>
  </div>
</template>
<script>

</script>
<style lang='scss' scoped>
.header {
  height: 44px;
  text-align: center;
  color: $color-theme;
  font-size: 0;

  .text {
    display: inline-block;
    vertical-align: top;
    line-height: 44px;
    font-size: $font-size-large;
  }

  .mine {
    position: absolute;
    top: 0;
    right: 0;

    .icon-mine {
      display: block;
      padding: 12px;
      font-size: $font-size-large-x;
      color: $color-theme;
    }
  }
}
</style>
